#pragma once

#pragma comment(lib, "c:\\coding\\libs\\libs\\debug\\FileHolder.lib")
#pragma comment(lib, "c:\\coding\\libs\\libs\\debug\\asmMath.lib")
#include <FileHolder.h>

#include "Geometry.h"
#include "Mesh.h"
#include "TexCoord.h"

namespace sgm
{
	class SGMLoader
	{
	public:
		static Geometry * LoadFromFile(const char *filename);

	private:
		static Mesh * LoadMesh(FileHolder *file);
		static Vec3 LoadVector3(FileHolder *file);
		static TexCoord LoadVector2(FileHolder *file);
	};
}
